package com.youngjun.user.service;

import com.youngjun.common.mybatis.service.support.BaseService;
import com.youngjun.user.mapper.DocumentMapper;
import com.youngjun.user.pojo.domain.Document;
import com.youngjun.user.pojo.vo.DocumentVO;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.List;

public interface DocumentService extends BaseService<Document,DocumentMapper> {

    DocumentVO upload(MultipartFile multipartFile);

    void download(String id, HttpServletResponse response);

}